package sch.frog.behavioral.state;

public class StateB implements IState {
    @Override
    public void handle(Context context) {
        System.out.println("state B");
        context.setState(new StateA());
    }
}
